﻿#ifndef CMDDOPRJTREEPASTEDATA_H
#define CMDDOPRJTREEPASTEDATA_H

#include "CommandManager/CommandBase.h"
#include <QObject>

namespace PostCommand
{
    class CmdDoPrjTreePasteData : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdDoPrjTreePasteData();
        ~CmdDoPrjTreePasteData();

        bool execute() override;
        void undo() override;
        void redo() override;
        void setSrcId(int srcId) { m_srcId = srcId; }
        void setDestId(int destId) { m_destId = destId; }

    private:
        int m_srcId;
        int m_destId;
    };
} // namespace PostCommand
#endif // !CMDDOPRJTREEPASTEDATA
